package com.shop.shop_end.mapper;

import com.shop.shop_end.dto.TopicVo;
import com.shop.shop_end.entity.Topic;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author
 * @since 2024-04-23
 */
@Mapper
public interface TopicMapper extends BaseMapper<Topic> {
    // 查询全部数据 调用entity包topic.xml里的getAllTopic配置 返回List类型的数据
    List<Topic> getAllTopic();

}
